<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" import="java.io.*,org.i_plus.model.*,org.i_plus.model.dao.*"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<title>Match</title>
</head>
<body style="background: #EEEEEE">
<%@ include file="/menu.jsp" %> 
<form action="<c:url value="/View/MatchServlet.controller" />" 
             name="fileForm" method="GET"  style="margin:0px auto;width:470px">
<table>
<h3>Welcome!!</h3>
<h5>配對系統</h5>
<tr>
         <td>居住地區:</td>
         <td><select name="region">
         			<option>不限</option>
 					<option>北部</option>
 					<option>中部</option>
 					<option >南部</option></td>
         <td>${errors.region }</td>
</tr>
<tr>
         <td>性別:</td>
         <td><select name="sex">
         			<option>不限</option>
 					<option>male</option>
 					<option>female</option></td>
         <td>${errors.sex }</td>
</tr>
<tr>
         <td>星座:</td>
         <td><select name="constellation">
         			<option>不限</option>
 					<option>水瓶</option>
 					<option>雙魚</option>
 					<option>牡羊</option>
 					<option>金牛</option>
 					<option>雙子</option>
 					<option>處女</option>
 					<option>天秤</option>
 					<option>天蠍</option>
 					<option>射手</option>
 					<option>魔羯</option></td>
         <td>${errors.Constellation }</td>
</tr>
<tr>
         <td>身高:高於</td>
         <td><input type="text"  name="hight" value="${param.hight}"></td>
         <td>${errors.hight }</td>
</tr>
<tr>
         <td>血型:</td>
         <td><select name="blood">
         			<option>不限</option>
 					<option>A</option>
 					<option>B</option>
 					<option>O</option>
 					<option>AB</option></td>
         <td>${errors.blood }</td>
</tr>
<tr>
         <td>感情狀態:</td>
         <td><select name="mstate">
         			<option>不限</option>
 					<option>單身</option>
 					<option>已婚</option>
 					<option>一言難盡</option>
 					<option>喪偶</option></td>
         <td>${errors.mstate }</td>
</tr>
<tr>
         <td>嗜好:</td>
         <td><select name="play">
         			<option>不限</option>
 					<option>不抽菸不喝酒</option></td>				
         <td>${errors.play }</td>
</tr>
<tr>
		 <td>興趣:</td>
       	 <td>
       	 	 <input  type="checkbox" name="hobby" value="ball">籃球
    		 <input  type="checkbox" name="hobby" value="run">跑步
    		 <input  type="checkbox" name="hobby" value="reading">閱讀
    		 <input  type="checkbox" name="hobby" value="swim">游泳
    		 <input  type="checkbox" name="hobby" value="movie">電影
    		 <input  type="checkbox" name="hobby" value="singing">唱歌
    		 <input  type="checkbox" name="hobby" value="bike">單騎
    		 <input  type="checkbox" name="hobby" value="twgame">電動
         </td>
         <td></td>
</tr>
<tr>
			<td></td>
			<td><br></td>
			<td></td>
</tr>
<tr>
			<td></td>
			<td><input type="submit" name="submit" value="開始配對"></td>
			<td></td>
</tr>
</table>
</form>

</body>
</html>